case "$1" in
	start) 
		xhost +
		/etc/init.d/postgresql-8.4 start
		/etc/init.d/hudson start
		;;
	stop)
		/etc/init.d/hudson stop
		/etc/init.d/postgresql-8.4 stop
		;;
	*) echo "Expecting $0 [start|stop]";;
esac
